Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.platform.video.core.renditions

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.platform.video.core.renditions">

  <require>org.nuxeo.ecm.platform.rendition.contrib</require>

  <extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
    point="renditionDefinitionProviders">

    <renditionDefinitionProvider name="videoRenditionDefinitionProvider"
      class="org.nuxeo.ecm.platform.video.rendition.VideoRenditionDefinitionProvider">
      <filters>
        <filter-id>hasVideo</filter-id>
      </filters>
    </renditionDefinitionProvider>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="filters">

    <filter id="hasVideo">
      <rule grant="true">
        <facet>Video</facet>
      </rule>
    </filter>

    <filter id="allowPDFRendition" append="true">
      <rule grant="false">
        <facet>Video</facet>
      </rule>
    </filter>

  </extension>

</component>